home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / XAML.AML < prev    next >
Text File  |  1996-07-17  |  2KB  |  53 lines

  1. //--------------------------------------------------------------------
  2. // XAML.AML
  3. // Syntax highlighting for Aurora Macro Language files (Aml)
  4. //
  5. // After making changes, save this file and compile with <shift f10>.
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. syntax
  11.  
  12.   // options
  13.   'bcfin'                         // options:
  14.                                   //   b=show through marked block
  15.                                   //   c=highlight cursor line
  16.                                   //   d=show through closed folds
  17.                                   //   f=use only foreground colors
  18.                                   //   i=ignore keyword case
  19.                                   //   n=highlight numbers
  20.  
  21.   // language elements
  22.   '()=+-*/<>|&^,[]{}:.~\t'        // symbol set 1
  23.   ''                              // symbol set 2
  24.   '"\''                           // string characters
  25.   '\\'                            // string literal char
  26.   ''                              // numeric symbol
  27.   '//'          0                 // eol comment 1 / start column
  28.   ''            0                 // eol comment 2 / start column
  29.   '/*'          '*/'              // multi-line comment 1
  30.   ''            ''                // multi-line comment 2
  31.   0                               // number of lines to scan backward
  32.  
  33.   // colors
  34.   color brightcyan   on black     // keyword
  35.   color gray         on cyan      // symbol set 1
  36.   color gray         on cyan      // symbol set 2
  37.   color brightred    on black     // string
  38.   color brightred    on black     // numeric
  39.   color brightgreen  on black     // eol comment 1
  40.   color brightgreen  on black     // eol comment 2
  41.   color brightgreen  on black     // comment 1
  42.   color brightgreen  on black     // comment 2
  43.  
  44. keyword
  45.   and, by, break, case, call, const, color, constant, do, downto,
  46.   databuf, #end, end, else, #else, eval, #endif, event, endif, elseif,
  47.   endfor, #elseif, endkey, endmenu, endcase, endloop, #endexec,
  48.   endevent, endwhile, endmenubar, enddatabuf, endfunction, #exec, for,
  49.   forward, function, if, if?, #if, include, key, loop, length, mod,
  50.   menu, menubar, not, or, object, otherwise, public, private, queue,
  51.   ref, repeat, return, send, shl, shr, step, to, then, times, until,
  52.   var, variable, when, while
  53.